package com.fduss.artStore.dao;

import com.fduss.artStore.entity.Customer;

import java.util.List;

/**
 * @Author duocai wu
 * @Date 2017/6/23
 * @Time 17:02
 */
public interface CustomerDao {

    Customer add(Customer customer);

    void delete(int customerId);

    Customer update(Customer customer);

    List<Customer> getAll();

    Customer getOne(int customerId);
}
